package Java_1_1;
public class Java_1_1_5 {
    public static void main(String[] args){
        //两数取最大
        int a=5;
        int b=10;
        System.out.println(a>b ? a:b);
        //三数取最大
        int c=5;
        int d=10;
        int e=20;
        System.out.println(c>d ? c:(d>e ? d:e));

    }
}
